package com.crawler.waf.security.authentication;

import org.springframework.security.core.AuthenticationException;

/**
 * 认证过程产生的异常
 */
public class WafAuthenticationException extends AuthenticationException {

	private static final long serialVersionUID = 1L;

	/**
     * Constructs an {@code AuthenticationException} with the specified message and root cause.
     *
     * @param msg the detail message
     * @param t   the root cause
     */
    public WafAuthenticationException(String msg, Throwable t) {
        super(msg, t);
    }

    /**
     * Constructs an {@code AuthenticationException} with the specified message and no root cause.
     *
     * @param msg the detail message
     */
    public WafAuthenticationException(String msg) {
        super(msg);
    }
}
